Objective-C 2.0 ของ ภาษาอ็อบเจกทีฟ-ซี

เป็นส่วนเพิ่มเติมวากยสัมพันธ์จากภาษา Objective-C โดยบริษัท Apple เป็นผู้พัฒนาเพิ่ม[3]เช่น

  • Garbage collection (computer science) (ทั้งนี้ ใน Objective-C runtime ของ GNU สามารถใช้งาน Boehm-Demers-Weiser conservative garbage collector ได้ก่อนหน้า Objective-C 2.0 แล้ว[4])
  • Properties (@property) ช่วยจัดการการประกาศ instance variable
  • Fast enumeration[5] การเพิ่มประสิทธิภาพในส่วน runtime [6]
for (int i=0; i<[thePeople count]; i++) {    Person *p = [thePeople objectAtIndex:i];    NSLog (@"%@ is %i years old.", [p getName], [p getAge]) ;}for (Person *p in thePeople)    NSLog (@"%@ is %i years old.", [p getName], [p getAge]) ;